pub fn dp_rec_mc(amount: u32) -> u32 {
    let mut amount = amount;
    const CASHES: [u32; 8] = [1, 2, 5, 10, 20, 30, 50, 100];
    let mut cnt = 0;
    for cashe in CASHES.iter().rev() {
        cnt += amount / cashe;
        amount %= cashe;
    }
    cnt
}
